var container = document.getElementById("gpViewCount"); if(container){ container.innerHTML = "21999680"; }else{ document.write("21999680"); }